<?php
/**
 * 工资核算验证器
 */

namespace app\common\validate;

class SalaryLogValidate extends Validate
{
    protected $rule = [
            'staff_id|员工id' => 'require',
    ];

    protected $message = [
            'staff_id.require' => '员工id不能为空',
    ];

    protected $scene = [
        'add'  => ['staff_id','status',],
'edit' => ['staff_id','status',],

    ];

    

}
